﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RedeSocial.Web.UserControls
{
	public partial class UserPhoto : BaseUserControl
	{
		#region properties...
		#endregion
		#region overrides...
		protected override void CreateViewModel()
		{

		}
		protected override void BindViewModel()
		{

		}
		protected override void BindLabels()
		{
			//lblError.Text = ResourceManager.GetResource(Constants.LOGINVIEW_INVALIDUSERMESSAGE, LoginViewModel.DefaultLanguage.Id);
		}
		#endregion
		#region event handles...
		protected void Page_Load(object sender, EventArgs e)
		{
			Response.Cache.SetCacheability(HttpCacheability.NoCache);
			if (!IsPostBack)
			{
				ImgUser.DataValue = User.File.Object;
				lblUser.Text = User.Name;
			}
		}

		protected void btnEditProfile_Click(object sender, EventArgs e)
		{
			Response.Redirect("ChangeProfile.aspx");
		}
		#endregion
	}
}